//
//  UUAlertAction.m
//  UUZuche
//
//  Created by phenmod on 14-10-16.
//
//

#import "UUAlertAction.h"


@interface UUAlertAction ()
@property (nonatomic, strong) NSString *title;
@property (nonatomic, assign) UUAlertActionStyle style;
@property (nonatomic, copy) UUAlertActionHandlerBlock handlerBlock;
@end


@implementation UUAlertAction

+ (instancetype)actionWithTitle:(NSString *)title
                          style:(UUAlertActionStyle)style
                        handler:(UUAlertActionHandlerBlock)handler
{
    UUAlertAction *action = [UUAlertAction new];
    action.title = title;
    action.style = style;
    action.handlerBlock = handler;
    return action;
}

@end
